﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using ZhongJia.Core.Consts;
using ZhongJia.Core.Domain;

namespace GuanQL.Core.Domain.Accounts
{
    public class UserAmountHistory : IEntity<int>
    {
        public int Id { get; set; }

        public Guid UserId { get; set; }

        public User User { get; set; }

        public Guid ObjectId { get; set; }

        public decimal Amount { get; set; }

        public UserAmountScene Scene { get; set; }

        public bool IsAdd { get; set; }

        [MaxLength(Validations.GeneralShortLength)]
        public string Title { get; set; }

        public DateTime Created { get; set; }
    }
}
